#pragma once

#include <fstream>
#include "TokenStream.h"
#include <vector>

class ObjModel
{
public:
  ObjModel(void);
  virtual ~ObjModel(void);

  void Release();

  bool LoadObj(char* fileName);

  inline float* GetVertices() const { return this->m_vertices;}
  inline float* GetNormals() const { return this->m_normals;}
  inline float* GetTexCoors() const { return this->m_texCoords;}
  inline int GetTotalVerts() const { return this->m_totalVerts;}


private:
  float* m_vertices;
  float* m_normals;
  float* m_texCoords;
  int m_totalVerts;
};

